package com.xiyo.walle;

import android.app.Application;
import android.text.TextUtils;
import android.util.Log;

import com.meituan.android.walle.WalleChannelReader;

import java.util.Map;

/**
 * @package: com.xiyo.walle
 * @fileName:
 * @author: 4thever
 * @date on: 2018/10/19 11:58
 */
public class MyApplication extends Application{

    @Override
    public void onCreate() {
        super.onCreate();

    }

    private void initChannelInfo() {
        String channelName = WalleChannelReader.getChannel(this.getApplicationContext(), "xxxx");
        String channelNameText = "";
        Map<String, String> channelInfoMap = WalleChannelReader.getChannelInfoMap(this.getApplicationContext());

        if (channelInfoMap != null && channelInfoMap.size() > 0){
            channelNameText = channelInfoMap.get("name");
        }
    }
}
